package com.match.pattern.factory.simplefactory;

public class FactoryTest {

	public FactoryTest() {
	}

	public static void main(String[] args) {
		SimpleFactory simpleFactory=new SimpleFactory();
		Grass grass=(Grass) simpleFactory.create(Grass.class);
		grass.growing();
	}

}
